package com.shf7;

public class Student {
  private String name;
  private int chinese;
  private int math;
  private int english;

  public Student() {
  }

  public Student(String name, int chinese, int math, int english) {
    this.name = name;
    this.chinese = chinese;
    this.math = math;
    this.english = english;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public int getChinese() {
    return chinese;
  }

  public void setChinese(int chinese) {
    this.chinese = chinese;
  }

  public int getMath() {
    return math;
  }

  public void setMath(int math) {
    this.math = math;
  }

  public int getEnglish() {
    return english;
  }

  public void setEnglish(int english) {
    this.english = english;
  }

  public int geSum(){
    return this.chinese+this.math+this.english;
  }
}
